<template>
  <view class="right-features">
    <!-- 全国群聊 -->
    <view class="national-chat card">
      <view class="feature-title">全国群聊</view>
      <view class="feature-subtitle">覆盖338城市 | 共23W+群成员</view>
      <view class="content-row">
        <view class="left-content">
          <view class="avatar-group">
            <view class="avatar" v-for="i in 3" :key="i">
              <text class="avatar-text">👤</text>
            </view>
          </view>
          <view class="chat-btn">开聊 ▶</view>
        </view>
        <view class="emoji-decoration">
          <text class="emoji">😊</text>
          <text class="heart">💖</text>
          <text class="note">📝</text>
        </view>
      </view>
    </view>

    <!-- 恋爱ING -->
    <view class="love-ing card">
      <view class="feature-title">恋爱ING</view>
      <view class="feature-subtitle">时光情书·恋爱角</view>
      <view class="avatar-couple">
        <view class="couple-avatars">
          <text class="female-avatar">👩</text>
          <text class="male-avatar">👨</text>
        </view>
      </view>
    </view>

    <!-- 联盟大厅 -->
    <view class="alliance-hall card">
      <view class="feature-title">联盟大厅</view>
      <view class="feature-subtitle">推广活动赚佣金</view>
      <view class="gift-decoration">
        <text class="gift-icon">🎁</text>
      </view>
    </view>
  </view>
</template>

<script setup>
// 右侧功能区组件逻辑
</script>

<style scoped>
.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 16px;
}

.right-features {
  flex: 0.55;
  margin-left: 8px;
  display: flex;
  flex-direction: column;
}

/* 全国群聊样式 */
.national-chat, .love-ing, .alliance-hall {
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  min-height: 80px;
}

.feature-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
  color: #333;
}

.feature-subtitle {
  font-size: 11px;
  color: #999;
  margin-bottom: 12px;
}

.content-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avatar-group {
  display: flex;
  gap: -4px;
}

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -4px;
  border: 2px solid #fff;
}

.avatar-text {
  font-size: 12px;
}

.chat-btn {
  background: #2c3e50;
  color: #fff;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  width: fit-content;
}

.emoji-decoration {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.emoji, .heart, .note {
  font-size: 16px;
}

/* 恋爱ING样式 */
.avatar-couple {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.couple-avatars {
  display: flex;
  gap: 8px;
  position: relative;
}

.female-avatar, .male-avatar {
  font-size: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 联盟大厅样式 */
.gift-decoration {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.gift-icon {
  font-size: 32px;
}
</style> 